package eee.xiang.cloud_learning.service.design.responsibility;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description
 * @Author Eee_xiang
 * @Date 2021/10/28
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Reponse {
    private List<String> data=new ArrayList<>();
    public void addData(String data)
    {
        this.data.add(data);
    }
}
